# 计算字符串中的单词数


def count_letters(content):
    letter_list = content.split()
    return len(letter_list)


if __name__ == '__main__':
    content = 'hello, my name is js haha'
    print(count_letters(content))
